package it.univaq.mwt.model.bean;
import java.util.List;
import it.univaq.mwt.exceptionmonitor.WishlistrMessage;
import it.univaq.mwt.model.entity.Groups;

import javax.ejb.Remote;
import javax.persistence.PersistenceException;

@Remote
public interface GroupsBeanRemote {
	void createGroup(Groups group) throws WishlistrMessage;
	List<Groups> getGroupList() throws WishlistrMessage;
	Groups getGroup(int id_group) throws WishlistrMessage;
	Groups addGroup(Groups logged) throws WishlistrMessage;
}
